package com.slmxz.tms.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.slmxz.tms.biz.model.entity.OrderLifecycle;
import com.slmxz.tms.system.model.vo.UserInfoVO;

import java.util.List;

/**
 * 订单生命周期服务类
 *
 * @author sunyao
 *@Date 2024-10-15 21:49
 */
public interface OrderLifecycleService extends IService<OrderLifecycle> {

    /**
     * 获取订单的操作日志
     * @return
     */
     List<OrderLifecycle> selectOrderLifecycle(String orderNo);

    OrderLifecycle selectOrderDetail(Long id);

     void orderOperateRecord(List<OrderLifecycle> orderLifecycles,UserInfoVO user) throws Exception;

     void orderOperateRecord(OrderLifecycle orderLifecycle,UserInfoVO user) throws Exception;

}
